// 把对象转成query字符串
export const objToQueryString = (obj: object) => {
    let ret = ''
    for (let key in obj) {
      ret += `&${key}=${(obj as any)[key]}`
    }
    return ret
  }